/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.mes.domain.req;

import com.xy.lang.validation.annotation.AlertMessage;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @date 2022-3-2
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class ListManufactureTaskGoodsRequest {

	@NotNull(message = "pageIndexRequired")
	@AlertMessage(code = "pageIndexRequired", msg = "页索引不能为空")
	private Integer pageIndex;

	@NotNull(message = "pageSizeRequired")
	@AlertMessage(code = "pageSizeRequired", msg = "页大小不能为空")
	private Integer pageSize;

	/**
	 * 生产任务编码
	 */
	private String manufactureTaskCode;
	/**
	 * 生产订单编码
	 */
	private String manufactureOrderCode;
	/**
	 * 货品货号
	 */
	private String goodsCode;
	/**
	 * 货品识别码
	 */
	private String goodsFullCode;
	/**
	 * 货品简称
	 */
	private String goodsAbbr;
	/**
	 * 交付结果：0-未交付，1-直接入库，2-通知质检，4-通知分装
	 */
	private Integer handOverResult;
	/**
	 * 类型：1-产品，2-原料
	 */
	private Integer type;
	/**
	 * 是否核查标识：0-否，1-是
	 */
	private Boolean checkFlag;
}
